using System.ComponentModel.DataAnnotations;

namespace Traceability.Domain
{
    /// <summary>
    /// 企业信息实体
    /// </summary>
    public class EnterpriseInfo : BaseEntity
    {
        /// <summary>
        /// 企业信息实体主键
        /// </summary>
        [Key]
        public int EnterpriseId {  get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string ProductionBatch { get; set; } = string.Empty;
        /// <summary>
        /// 养殖场名称
        /// </summary>
        public string FarmName { get; set; } = string.Empty;

        /// <summary>
        /// 负责人
        /// </summary>
        public string Manager { get; set; } = string.Empty;

        /// <summary>
        /// 存栏数量
        /// </summary>
        public int LivestockCount { get; set; }
    }
} 